#include <iostream>
#include <array>
#include <vector>
#include <span>
#include "fmt/format.h"
using namespace std;


int main() {
    const auto display{
        [](const auto& items) {
            for (const auto& item : items) {
                cout << fmt::format("{} ", item);
            }
            cout << "\n";
        }
    };
    const auto array0{ std::array{"abc"s} };
    const auto array1{ std::array{"abc"} };
    const auto array2{ std::to_array("abc") };


    cout << fmt::format("array0.size()={}\n", array0.size()) << "array0:";
    display(array0);

    cout << fmt::format("array1.size()={}\n", array1.size()) << "array1:";
    display(array1);

    cout << fmt::format("array2.size()={}\n", array2.size()) << "array2:";
    display(array2);
    return 0;
}